<template>
  <div class="Welcome">
    <!-- <h2>{{ msg + user + use }}</h2> -->
  </div>
</template>
 
<script>
export default {
  name: "Welcome",
  data() {
    return {
      msg: "欢迎",
      user: "",
      use: "登录",
    };
  },
  methods: {},
  created() {
    this.user = localStorage.getItem("user");
  },
};
</script>
 
<style scoped lang="scss">
.Welcome{
  box-sizing: border-box;
  padding: 30px;
  text-align: center;
  h3{
    text-align: center;
  }
}
</style>